package com.lu.util;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author issuser
 * @ClassName DateUtil
 * @Description
 * @date 2021/07/12 20:13
 */
public class DateUtil {

    private static final SimpleDateFormat SDF = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");

    /**
     * @ClassName DateUtil.java
     * @Description 获取当前时间字符串格式
     * @Author issuser
     * @Date 2021/7/12 20:15
     * @return java.lang.String
     */
    public static String getNowTimeStr(){
        return SDF.format(new Date());
    }
}
